第 4 步:我们已经访问了我们的电子表格!现在让我们从中提取密码。

我们可以在 Google 电子表格上使用.get_column()来访问特定列。

  • ,将Get Column拖入main()
  • 上面的命令返回一个列表。在,将Get Value at Index拖到main()中。
  • 将变量名my_list更改为col并将my_var更改为password

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)